package com.five.dao.backstage;

import com.five.entity.backstage.TStaff;
import com.five.util.Page;
import java.util.List;
import java.util.Map;

/**
 * @Author: 王登峰
 * @Description:
 * @Date: 2020/11/23 14:56
 */
public interface StaffDao {
    List<Map> selectStaff(Page pageInfo,TStaff tStaff);
    List<Map> selectDept();
    List<Map> selectRole(Integer id);
    int addStaff(TStaff staff);
    int liZhi(TStaff staff);
    int count(TStaff tStaff);
    int addStaffpwd(String name,String id);
    int upadetaffname(String name,String id);
    String selectID(String name);

    List<Map> selectRoleId(Integer id);
}
